import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Index from '@/components/Index'
import AutoShow from '@/components/AutoShow'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/index',
      name: 'index',
      component: Index
    },
    {
    	path:'/autoshow/:id',
    	name:'autoname',
    	component:AutoShow
    },
    {
    	path:'*',
    	component:Index
    }
  ]
})
